.class Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;
.super Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;
.source "OrmmaView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "WebViewWrapper"
.end annotation


# instance fields
.field private final mOrmmaClient:Landroid/webkit/WebViewClient;


# direct methods
.method public constructor <init>(Landroid/webkit/WebViewClient;Landroid/webkit/WebViewClient;)V
    .locals 0
    .parameter "origClient"
    .parameter "ormma"

    .prologue
    .line 279
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;-><init>(Landroid/webkit/WebViewClient;)V

    .line 280
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;->mOrmmaClient:Landroid/webkit/WebViewClient;

    .line 281
    return-void
.end method


# virtual methods
.method public onLoadResource(Landroid/webkit/WebView;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 303
    invoke-super {p0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->onLoadResource(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 304
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;->mOrmmaClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->onLoadResource(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 305
    return-void
.end method

.method public onPageFinished(Landroid/webkit/WebView;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 292
    invoke-super {p0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->onPageFinished(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 293
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;->mOrmmaClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->onPageFinished(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 294
    return-void
.end method

.method public onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "errorCode"
    .parameter "description"
    .parameter "failingUrl"

    .prologue
    .line 286
    invoke-super {p0, p1, p2, p3, p4}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V

    .line 287
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;->mOrmmaClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3, p4}, Landroid/webkit/WebViewClient;->onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V

    .line 288
    return-void
.end method

.method public shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 298
    invoke-super {p0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaView$WebViewWrapper;->mOrmmaClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
